﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000D8 RID: 216
	internal class FixExt8Header : IExtHeaderDecoder
	{
		// Token: 0x0600032B RID: 811 RVA: 0x0000C256 File Offset: 0x0000A656
		private FixExt8Header()
		{
		}

		// Token: 0x0600032C RID: 812 RVA: 0x0000C260 File Offset: 0x0000A660
		public ExtensionHeader Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 2;
			sbyte typeCode = (sbyte)bytes[offset + 1];
			return new ExtensionHeader(typeCode, 8U);
		}

		// Token: 0x040000F3 RID: 243
		internal static readonly IExtHeaderDecoder Instance = new FixExt8Header();
	}
}
